package com.cbh.feign.controller.institution;



import java.util.List;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.cbh.api.model.ApiResult;
import com.cbh.api.model.institution.OfferInterface;

public interface OfferInterfaceControllerBase {

	/**
	 * 根据区号获取报价接口
	 * 
	 * @param areaNumber
	 * @return
	 */
	@RequestMapping(value = "/sign/v3/offer/interface/exc/area", method = RequestMethod.GET, produces = "application/json")
	public ApiResult<List<OfferInterface>> queryByArea(
			@RequestParam(value = "areaNumber", required = true) String areaNumber);

	/**
	 * 根据车牌获取报价接口
	 * 
	 * @param plate
	 * @return
	 */
	@RequestMapping(value = "/sign/v3/offer/interface/exc/plate", method = RequestMethod.GET, produces = "application/json")
	public ApiResult<List<OfferInterface>> queryByPlate(@RequestParam(value = "plate", required = true) String plate);

	/**
	 * 获取被当前依赖的报价接口列表
	 * 
	 * @param id
	 * @return
	 */
	@RequestMapping(value = "/sign/v3/offer/interface/rely", method = RequestMethod.GET, produces = "application/json")
	public ApiResult<List<OfferInterface>> queryByRely(@RequestParam(value = "id", required = true) String id);

	
}
